package com.tencent.wepay.protocol.bill.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Bill implements Serializable {
	private static final long serialVersionUID = -2938521391060734548L;
	private List<Detail> details=new ArrayList<Detail>();
	private Sum sum=new Sum();
	public List<Detail> getDetails() {
		return details;
	}
	public void setDetails(List<Detail> details) {
		this.details = details;
	}
	public void addDetail(Detail detail){
		details.add(detail);
	}
	public Sum getSum() {
		return sum;
	}
	public void setSum(Sum sum) {
		this.sum = sum;
	}
}
